<form id="card-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <input id="userid" name="userid" type="text" class="hidden" value="{$userid}">
    {volist name="data" id="vo"}
    <div class="form-group">
        <label for="c-card{$vo.id}" class="control-label col-xs-12 col-sm-2">{$vo.znname}</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-card{$vo.id}" class="form-control" size="50" name="card_id[]" type="text"
                       value="{$vo.pic_src}"><br>
                <span><button id="plupload-card{$vo.id}" type="button" class="btn btn-danger plupload"
                              data-mimetype="jpg" data-input-id="c-card{$vo.id}" data-preview-id="p-card{$vo.id}"><i
                        class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <ul class="row list-inline plupload-preview" id="p-card{$vo.id}"></ul>
            </div>
        </div>
    </div>
    {/volist}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
        </div>
    </div>
</form>
